﻿using Cofe.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core.Filter
{
    public interface IFilterConstructor : ICofeService
    {        
        IFilterFactory[] FilterFactories { get; set; }

        bool TryConstruct<T>(string name, string value, out T constructedFilter) where T : IFilter;

        T Construct<T>(string name, string value) where T : IFilter;
    }
}
